package com.eleme.order.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 订单明细DTO
 */
@Data
public class OrderDetailDTO {
    @NotBlank(message = "食品ID不能为空")
    private String foodId;
    @NotNull(message = "数量不能为空")
    private Integer quantity;
    private String foodName;
} 